package com.walleipt.demo.ioc.factorBean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AppConfig {
	
	@Bean
	public MyFactoryBean myFactoryBean()
	{
		return new MyFactoryBean() ;
	}
	
	@Bean
	public MySmartFactoryBean mySmartFactoryBean()
	{
		return new MySmartFactoryBean() ;
	}
}
